home *** CD-ROM | disk | FTP | other *** search
Gui4CLI script | 1998-06-24 | 1.4 KB | 76 lines |
- G4C
-
- winbig -1 -1 200 57 ""
- winsmall -1 -1 200 57
- wintype 11110000
- varpath "climaster/*/routine.g"
-
- xonload
- failat 5
- guiopen relab.g
-
- xonopen
- lvuse relab.g 1
- gosub routine.g drives
- if $cm_mode == "relab"
- setwintitle relab.g "Relabel Disk "
- setgad relab.g 3 on
- setgad relab.g 4/5 off
- elseif $cm_mode == "install"
- setwintitle relab.g "Install Disk "
- setgad relab.g 3 off
- setgad relab.g 4/5 on
- update relab.g 4 0
- endif
- update relab.g 1 0
- update relab.g 2 $source
-
- xonclose
- lvuse climaster $cm_srce
- failat 10
- guiquit relab.g
-
- xonrmb
- guiclose relab.g
-
- xonfail
- guiclose relab.g
-
- box 120 13 80 18 out button
-
- xlistview 0 13 120 46 "" source "" 0 txt
- gadid 1
- gadfont topaz.font 8 000
- lvuse climaster $cm_srce
- update relab.g 2 $source
-
- text 135 16 50 12 "" 4 box
- gadid 2
- gadtxt center
-
- xtextin 0 0 200 13 "" nwname "" 30
- gadid 3
- if $nwname = ""
- ezreq "You MUST supply a name." Okay ""
- stop
- endif
- if $cm_mode = "relab"
- setwintitle relab.g "Renaming Disk... "
- cli 'c:relabel drive $source name "$nwname"'
- nwname = ""
- update relab.g 3 $nwname
- setwintitle relab.g "Relabel Disk "
- endif
-
- xcycler 120 31 80 13 "" dop_instarg
- gadid 4
- cstr "OFS" ""
- cstr "FFS" "ffs"
- cstr "Check" "check"
-
- xbutton 120 44 80 13 Start
- gadid 5
- setwintitle relab.g "Installing... "
- cli 'c:install drive $source $dop_instarg'
- setwintitle relab.g "Install Disk "
-